let compiler = require("vue-template-compiler");

// 使用计算属性 先计算好 在循环

// stop,prevent,self 都属于直接在拼接字符串的时候添加即可
let { render: render1 } = compiler.compile('<div @click.stop="fn"></div>');


let { render: render2 } = compiler.compile('<div @click.prevent="fn"></div>');
console.log(render2);


let { render: render3 } = compiler.compile('<div @click.self="fn"></div>');
console.log(render3);





// once  passive  capture     window.addEventListener('click',fn,{capture:true})
let { render: render4 } = compiler.compile('<div @click.once="fn"></div>');
console.log(render4);
let { render: render5 } = compiler.compile('<div @click.passive="fn"></div>');
console.log(render5);
let { render: render6 } = compiler.compile('<div @click.capture="fn"></div>');
console.log(render6);
// let { render: render7 } = compiler.compile('<div @click.13="fn"></div>');
// console.log(render7);

// ~once  &passive  !capture